package com.alm.token.ui.data.bean;

import com.alm.token.base.BaseAdapter;

import java.util.List;

/**
 * Created by en on 2019/7/22.
 */

public class StakingOrderIndexData {


    /**
     * msg : 操作成功
     * status : 0
     * data : {"mioWallet":"0.999","moneyTypeIcon":"","mioPrice":"123123","monthRate":"8% ~ 18%","moneyType":"ETH","waitObj":{"openNeedDayNum":1,"sucDay":"2019-08-14","waitNum":0},"userRole":{"userRole":"普通会员","takeOffRatio":0.05,"closeServiceCharge":289.58647},"goods":[{"id":1,"name":"500$","goodsValue":500,"price":500,"status":1,"cycle":25,"monthlyEarnings":0.07,"floor":5,"level":1,"mingMoneyType":"1,3,4,5,6,7,8,9,10,11","icon":null,"goodsName":"星际收益"}],"appendList":[{"min":"1","max":"20000","price":"0.00","moneyType":"1","num":"0","name":"ETH","yue":"0.00","url":"https://api.iotoken.net/static/images/eth.png"}],"order":{"orderSn":"MO201909110114541858","level":1,"levelName":"STKL1","statusStr":"预约成功,待支付","status":2,"expirationTime":"2019-09-13","cycle":25,"monthlyEarnings":"7%","money":600,"payMoney":0,"rewardMoney":0,"activationTime":1568222112000,"openingDays":0,"typeOrderVos":[{"moneyType":1,"moneyTypeStr":"ETH","dollar":"600.00","payMio":"0.00","rewardMoney":"0.00","price":null}],"payOrderVo":{"moneyType":2,"orderSn":"MO2019091101145418586","money":"431.685733"}}}
     * success : true
     * timestamp : 1565664584756
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * mioWallet : 0.999
         * moneyTypeIcon :
         * mioPrice : 123123
         * monthRate : 8% ~ 18%
         * moneyType : ETH
         * waitObj : {"openNeedDayNum":1,"sucDay":"2019-08-14","waitNum":0}
         * userRole : {"userRole":"普通会员","takeOffRatio":0.05,"closeServiceCharge":289.58647}
         * goods : [{"id":1,"name":"500$","goodsValue":500,"price":500,"status":1,"cycle":25,"monthlyEarnings":0.07,"floor":5,"level":1,"mingMoneyType":"1,3,4,5,6,7,8,9,10,11","icon":null,"goodsName":"星际收益"}]
         * appendList : [{"min":"1","max":"20000","price":"0.00","moneyType":"1","num":"0","name":"ETH","yue":"0.00","url":"https://api.iotoken.net/static/images/eth.png"}]
         * order : {"orderSn":"MO201909110114541858","level":1,"levelName":"STKL1","statusStr":"预约成功,待支付","status":2,"expirationTime":"2019-09-13","cycle":25,"monthlyEarnings":"7%","money":600,"payMoney":0,"rewardMoney":0,"activationTime":1568222112000,"openingDays":0,"typeOrderVos":[{"moneyType":1,"moneyTypeStr":"ETH","dollar":"600.00","payMio":"0.00","rewardMoney":"0.00","price":null}],"payOrderVo":{"moneyType":2,"orderSn":"MO2019091101145418586","money":"431.685733"}}
         */

        private double mioWallet;
        private String moneyTypeIcon;
        private double mioPrice;
        private String monthRate;
        private String moneyType;
        private WaitObjBean waitObj;
        private UserRoleBean userRole;
        private OrderBean order;
        private List<GoodsBean> goods;


        public double getMioWallet() {
            return mioWallet;
        }

        public void setMioWallet(double mioWallet) {
            this.mioWallet = mioWallet;
        }

        public String getMoneyTypeIcon() {
            return moneyTypeIcon;
        }

        public void setMoneyTypeIcon(String moneyTypeIcon) {
            this.moneyTypeIcon = moneyTypeIcon;
        }

        public double getMioPrice() {
            return mioPrice;
        }

        public void setMioPrice(double mioPrice) {
            this.mioPrice = mioPrice;
        }

        public String getMonthRate() {
            return monthRate;
        }

        public void setMonthRate(String monthRate) {
            this.monthRate = monthRate;
        }

        public String getMoneyType() {
            return moneyType;
        }

        public void setMoneyType(String moneyType) {
            this.moneyType = moneyType;
        }

        public WaitObjBean getWaitObj() {
            return waitObj;
        }

        public void setWaitObj(WaitObjBean waitObj) {
            this.waitObj = waitObj;
        }

        public UserRoleBean getUserRole() {
            return userRole;
        }

        public void setUserRole(UserRoleBean userRole) {
            this.userRole = userRole;
        }

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }



        public static class WaitObjBean {
            /**
             * openNeedDayNum : 1
             * sucDay : 2019-08-14
             * waitNum : 0
             */

            private int openNeedDayNum;
            private String sucDay;
            private int waitNum;

            public int getOpenNeedDayNum() {
                return openNeedDayNum;
            }

            public void setOpenNeedDayNum(int openNeedDayNum) {
                this.openNeedDayNum = openNeedDayNum;
            }

            public String getSucDay() {
                return sucDay;
            }

            public void setSucDay(String sucDay) {
                this.sucDay = sucDay;
            }

            public int getWaitNum() {
                return waitNum;
            }

            public void setWaitNum(int waitNum) {
                this.waitNum = waitNum;
            }
        }

        public static class UserRoleBean {
            /**
             * userRole : 普通会员
             * takeOffRatio : 0.05
             * closeServiceCharge : 289.58647
             */

            private String userRole;
            private double takeOffRatio;
            private double closeServiceCharge;

            public String getUserRole() {
                return userRole;
            }

            public void setUserRole(String userRole) {
                this.userRole = userRole;
            }

            public double getTakeOffRatio() {
                return takeOffRatio;
            }

            public void setTakeOffRatio(double takeOffRatio) {
                this.takeOffRatio = takeOffRatio;
            }

            public double getCloseServiceCharge() {
                return closeServiceCharge;
            }

            public void setCloseServiceCharge(double closeServiceCharge) {
                this.closeServiceCharge = closeServiceCharge;
            }
        }

        public static class OrderBean {
            /**
             * orderSn : MO201909110114541858
             * level : 1
             * levelName : STKL1
             * statusStr : 预约成功,待支付
             * status : 2
             * expirationTime : 2019-09-13
             * cycle : 25
             * monthlyEarnings : 7%
             * money : 600
             * payMoney : 0
             * rewardMoney : 0
             * activationTime : 1568222112000
             * openingDays : 0
             * typeOrderVos : [{"moneyType":1,"moneyTypeStr":"ETH","dollar":"600.00","payMio":"0.00","rewardMoney":"0.00","price":null}]
             * payOrderVo : {"moneyType":2,"orderSn":"MO2019091101145418586","money":"431.685733"}
             */

            private String orderSn;
            private int level;
            private String levelName;
            private String statusStr;
            private int status;
            private String expirationTime;
            private int cycle;
            private String monthlyEarnings;
            private double money;
            private double payMoney;
            private double rewardMoney;
            private long activationTime;
            private int openingDays;
            private PayOrderVoBean payOrderVo;
            private List<TypeOrderVosBean> typeOrderVos;
            private List<AppendListBean> appendList;

            public String getOrderSn() {
                return orderSn;
            }

            public void setOrderSn(String orderSn) {
                this.orderSn = orderSn;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getLevelName() {
                return levelName;
            }

            public void setLevelName(String levelName) {
                this.levelName = levelName;
            }

            public String getStatusStr() {
                return statusStr;
            }

            public void setStatusStr(String statusStr) {
                this.statusStr = statusStr;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getExpirationTime() {
                return expirationTime;
            }

            public void setExpirationTime(String expirationTime) {
                this.expirationTime = expirationTime;
            }

            public int getCycle() {
                return cycle;
            }

            public void setCycle(int cycle) {
                this.cycle = cycle;
            }

            public String getMonthlyEarnings() {
                return monthlyEarnings;
            }

            public void setMonthlyEarnings(String monthlyEarnings) {
                this.monthlyEarnings = monthlyEarnings;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public double getPayMoney() {
                return payMoney;
            }

            public void setPayMoney(double payMoney) {
                this.payMoney = payMoney;
            }

            public double getRewardMoney() {
                return rewardMoney;
            }

            public void setRewardMoney(double rewardMoney) {
                this.rewardMoney = rewardMoney;
            }

            public long getActivationTime() {
                return activationTime;
            }

            public void setActivationTime(long activationTime) {
                this.activationTime = activationTime;
            }

            public int getOpeningDays() {
                return openingDays;
            }

            public void setOpeningDays(int openingDays) {
                this.openingDays = openingDays;
            }

            public PayOrderVoBean getPayOrderVo() {
                return payOrderVo;
            }

            public void setPayOrderVo(PayOrderVoBean payOrderVo) {
                this.payOrderVo = payOrderVo;
            }

            public List<TypeOrderVosBean> getTypeOrderVos() {
                return typeOrderVos;
            }

            public void setTypeOrderVos(List<TypeOrderVosBean> typeOrderVos) {
                this.typeOrderVos = typeOrderVos;
            }

            public List<AppendListBean> getAppendList() {
                return appendList;
            }

            public void setAppendList(List<AppendListBean> appendList) {
                this.appendList = appendList;
            }

            public static class PayOrderVoBean {
                /**
                 * moneyType : 2
                 * orderSn : MO2019091101145418586
                 * money : 431.685733
                 */

                private int moneyType;
                private String orderSn;
                private String money;

                public int getMoneyType() {
                    return moneyType;
                }

                public void setMoneyType(int moneyType) {
                    this.moneyType = moneyType;
                }

                public String getOrderSn() {
                    return orderSn;
                }

                public void setOrderSn(String orderSn) {
                    this.orderSn = orderSn;
                }

                public String getMoney() {
                    return money;
                }

                public void setMoney(String money) {
                    this.money = money;
                }
            }

            public static class TypeOrderVosBean extends BaseAdapter.BaseItem {
                /**
                 * moneyType : 1
                 * moneyTypeStr : ETH
                 * dollar : 600.00
                 * payMio : 0.00
                 * rewardMoney : 0.00
                 * price : null
                 * * url : https://api.coom.pub/static/images/eth.png
                 */

                private int moneyType;
                private String moneyTypeStr;
                private String dollar;
                private String payMio;
                private String rewardMoney;
                private String  url;
                private Object price;

                public int getMoneyType() {
                    return moneyType;
                }

                public void setMoneyType(int moneyType) {
                    this.moneyType = moneyType;
                }

                public String getMoneyTypeStr() {
                    return moneyTypeStr;
                }

                public void setMoneyTypeStr(String moneyTypeStr) {
                    this.moneyTypeStr = moneyTypeStr;
                }

                public String getDollar() {
                    return dollar;
                }

                public void setDollar(String dollar) {
                    this.dollar = dollar;
                }

                public String getPayMio() {
                    return payMio;
                }

                public void setPayMio(String payMio) {
                    this.payMio = payMio;
                }

                public String getRewardMoney() {
                    return rewardMoney;
                }

                public void setRewardMoney(String rewardMoney) {
                    this.rewardMoney = rewardMoney;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public Object getPrice() {
                    return price;
                }

                public void setPrice(Object price) {
                    this.price = price;
                }
            }

            public static class AppendListBean {
                /**
                 * min : 1
                 * max : 20000
                 * price : 197.2200
                 * moneyType : 1
                 * num : 0
                 * name : ETH
                 * yue : 1000000.0000
                 * url : https://api.coom.pub/static/images/eth.png
                 */

                private String min;
                private String max;
                private String price;
                private String moneyType;
                private String num;
                private String name;
                private String yue;
                private String url;

                public String getMin() {
                    return min;
                }

                public void setMin(String min) {
                    this.min = min;
                }

                public String getMax() {
                    return max;
                }

                public void setMax(String max) {
                    this.max = max;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getMoneyType() {
                    return moneyType;
                }

                public void setMoneyType(String moneyType) {
                    this.moneyType = moneyType;
                }

                public String getNum() {
                    return num;
                }

                public void setNum(String num) {
                    this.num = num;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getYue() {
                    return yue;
                }

                public void setYue(String yue) {
                    this.yue = yue;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class GoodsBean {
            /**
             * id : 1
             * name : 500$
             * goodsValue : 500
             * price : 500
             * status : 1
             * cycle : 25
             * monthlyEarnings : 0.07
             * floor : 5
             * level : 1
             * mingMoneyType : 1,3,4,5,6,7,8,9,10,11
             * icon : null
             * goodsName : 星际收益
             */

            private int id;
            private String name;
            private int goodsValue;
            private int price;
            private int status;
            private int cycle;
            private double monthlyEarnings;
            private int floor;
            private int level;
            private String mingMoneyType;
            private Object icon;
            private String goodsName;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getGoodsValue() {
                return goodsValue;
            }

            public void setGoodsValue(int goodsValue) {
                this.goodsValue = goodsValue;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getCycle() {
                return cycle;
            }

            public void setCycle(int cycle) {
                this.cycle = cycle;
            }

            public double getMonthlyEarnings() {
                return monthlyEarnings;
            }

            public void setMonthlyEarnings(double monthlyEarnings) {
                this.monthlyEarnings = monthlyEarnings;
            }

            public int getFloor() {
                return floor;
            }

            public void setFloor(int floor) {
                this.floor = floor;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getMingMoneyType() {
                return mingMoneyType;
            }

            public void setMingMoneyType(String mingMoneyType) {
                this.mingMoneyType = mingMoneyType;
            }

            public Object getIcon() {
                return icon;
            }

            public void setIcon(Object icon) {
                this.icon = icon;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }
        }


    }
}
